import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { SideNavComponent } from './side-nav/side-nav.component';

@Component({
  selector: 'app-root',
  imports: [RouterOutlet, SideNavComponent],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  navRoute = [
    {
      headLabel: '社区',
      subNav: [
        { label: '社区总览', route: '/shequ' },
      ]
    },
    {
      headLabel: '楼院',
      subNav: [
        { label: '楼院总览', route: '/louyuan' },
      ]
    },
    {
      headLabel: '旧改项目',
      subNav: [
        { label: '旧改项目总览', route: '/jiugaixiangmu' },
      ]
    }
  ];
}
